package common

import (
	"context"
	"git.mycaigou.com/gfyx/common/http_client"
	common2 "git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto/common"
	reportDto "git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto/oppty/report"
)

type CommonReposIface interface {
	GetLocation(ctx context.Context) ([]map[string]interface{}, error)
	FuzzySearchCompanyInfo(ctx context.Context, keyword string) (interface{}, error)

	FillReportForm(ctx context.Context, params *reportDto.FillReportFormRequest) (*http_client.BigDataResponseList, error)
	GetProjectListByDeveloperName(ctx context.Context, req *common2.GetProjectListByCompanyNameRequest) ([]map[string]interface{}, int, error)
	GetProjectListBySupplierName(ctx context.Context, req *common2.GetProjectListByCompanyNameRequest) ([]map[string]interface{}, int, error)
}
